package
{
	import UIFree.ObjectEvent;
	import UIFree.uif_app;
	import UIFree.uif_styles;
	
	import components.pj_styles;
	
	import flash.events.Event;

	public class pi_app extends uif_app
	{
		public function pi_app(a_styles:uif_styles=null) {
			super(new pj_styles());
			_styleClass = _styleClass?_styleClass:'white';
			repaint(_styleClass);
		}
		
		public static function userName(userData: *): String {
			if (userData) {
				var name: String = userData.first_name + ' ' + userData.last_name;
				if (!name) name = userData.nick;
				return name;
			}
			return '';
		}
	}
}